package com.cq.xjms.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

@Entity
@Table(name = "ROLE")
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class Role extends BaseEntity{

	private static final long serialVersionUID = 2567548271451074821L;
	@Column(name = "NAME", length = 50, nullable = false, unique = true)
	private String name;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	
}
